package jwcb.javapjframework.ms_template.service.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;


@Getter
@Setter
@ToString
public class User {
    private Long id;
    private String name;
    private LocalDateTime createTime;
    public User() {}
    
    public User(Long id, String name) {
        this.id = id;
        this.name = name;
        this.createTime = LocalDateTime.now();
    }

}